<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<?php include_http_metas() ?>
<?php include_metas() ?>
<?php include_title() ?>
<link rel="shortcut icon" href="/favicon.ico" />
<meta name='yandex-verification' content='7e524239f94fb72e' />
<?php include_stylesheets() ?>
<?php include_javascripts() ?>
</head>
<body>

<div class="wrapper"><!-- Header block -->
<div id="header"><?php echo link_to('&nbsp;','default/index',array('class'=>'logo','title'=>'IpLife'))?>
<div class="date_banner"><noindex> <?php include_component('banners','get728x90')?></noindex>
<?php include_partial('default/topbarlinks')?></div>
<ul class="menu">
	<li
	<?php echo ($sf_context->getModuleName()=='default' && !$sf_user->getAttribute('s_page'))?"class='active'":''?>><?php echo link_to('Главная','default/index');?></li>
	<li
	<?php echo ($sf_context->getModuleName()=='news')?"class='active'":''?>><?php echo link_to('Новости','news/index');?></li>
	<li
	<?php echo ($sf_context->getModuleName()=='articles')?"class='active'":''?>><?php echo link_to('Статьи','articles/index');?><!-- a href="javascript://" onclick="$('#sub_articles').show()">Статьи</a--></li>
	<li
	<?php echo ($sf_context->getModuleName()=='releases')?"class='active'":''?>><?php echo link_to('Релизы','releases/index');?></li>
	<li
	<?php echo ($sf_context->getModuleName()=='tenders')?"class='active'":''?>><?php echo link_to('Тендеры','tenders/index');?></li>
	<li
	<?php echo ($sf_context->getModuleName()=='events')?"class='active'":''?>><?php echo link_to('Мероприятия','events/index');?></li>
	<li><a href="<?php echo url_for('default/index').'forum'; ?>">Форум</a></li>
	<li
	<?php echo ($sf_context->getModuleName()=='blogs')?"class='active'":''?>><?php echo link_to('Блоги','blogs/index');?></li>
</ul>
</div>

<?php include_component('default','articles_categories')?> <?php include_component('default','releases_categories')?>
<!-- Breadcrumbs -->
<ul class="breadcrumbs">
<?php include_slot('breadcrumbs'); ?>
</ul>

<!-- Right Container -->

<div id="right_bloglayout" class="column"><?php include_component('search', 'last') ?>
<?php include_component('phorum','lasttentopics') ?> <?php if(!include_slot('related'))
include_component('releases', 'last_releases');
?> <?php // include_component('default','forum');?> <?php // include_component('banners','get240x350right')?><br />
<br />
<?php include_component('default','cloudtags');?> 
<?php include_component('blogs','last5') ?>
</div>

<!-- Main container -->
<div id="container" style="padding: 0; float: left">
<div id="center" class="column">
<div class="content"><?php echo $sf_content ?></div>
</div>
</div>

<!-- Footer block --> <?php include_partial('default/footer')?></div>
</body>
</html>
